package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @version: 1.0
 * @Author: 李佳毅
 * @description:
 * @date: 2025-07-28 16:08
 */

@Component
@Slf4j
public class ContractJob {
    @Autowired
    private IContractService iContractService;

    public void updateContractStatusJob() {
        iContractService.UpdateContractStatus();
        log.info("更新合同状态成功");
    }
}
